home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
tutorial
/
trac.zip
/
FIGIII-8.OBJ
< prev
next >
Wrap
Text File
|
1990-01-25
|
1KB
|
26 lines
0999 0 0999 0 Origin
1000 0 OP 0
1001 0 X 0
1002 0 Y 0
1003 0 Z 0
1004 0 0 Dummy included to reserve read space
1005 1 ONE 1 Constant one
1006 401000 STRT RD OP Read OP, X, Y
1007 001000 LD OP Load OP
1008 021005 SU ONE Find difference for test
1009 241013 BNSTOP If < 1 go to halt
1010 251018 BZ ADD If = 1 go to add routine
1011 021005 SU ONE If > 1 see if it is 2
1012 251014 BZ SUB If = 2 go to subtract
1013 500000 STOP HT0000 If not stop
1014 001001 SUB LD X Load X
1015 021002 SU Y Subtract Y
1016 031003 ST Z Store at Z
1017 261021 BUPRNT Go to print
1018 001001 ADD LD X Load X
1019 011002 AD Y Add Y
1020 031003 ST Z Store at Z
1021 411000 PRNT PC OP Print
1022 261006 BUSTRT Go back to start
9999 001006 ENSTRT End of code with starting location